package homework01;

public class FinallyDemo {
    public static void main(String[] args) {
        System.out.println("开始");
        String a=null;
        try {
            System.out.println(a.length());
        }catch (Exception e){
            System.out.println("已解决异常");
        }finally {
            System.out.println("Finally执行");
        }
        System.out.println("结束");
    }
}
